package com.bong.ring.view;

import android.content.Context;
import android.support.constraint.ConstraintLayout;
import android.util.AttributeSet;
import android.view.LayoutInflater;

import com.bong.ring.R;

/**
 * Created by panpan on 2018/2/2.
 */

public class AlertItemView extends ConstraintLayout {
    public AlertItemView(Context context) {
        super(context);
        init(context);
    }

    public AlertItemView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public AlertItemView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init(context);
    }
    private void init(Context context)
    {
        LayoutInflater.from(context).inflate( R.layout.layout_alert_item,this,true);
    }
}
